//
//  UIStandardPageControlView.h
//  vhECGTools
//
//  Created by jia yu on 2022/7/2.
//

#import <UIKit/UIKit.h>

typedef void (^UIStandardPageControlView_ChangedHandler) (NSInteger currentPageNumber);

NS_ASSUME_NONNULL_BEGIN
@interface UIStandardPageControlView : UIView
@property (nonatomic) UIStandardPageControlView_ChangedHandler handler;
@property (nonatomic) UIButton *prevPageButton;
@property (nonatomic) UILabel *pageLabel;
@property (nonatomic) UIButton *nextPageButton;
@property (nonatomic) NSInteger currentPageNumber;
@property (nonatomic) NSInteger allPageNumber;

-(id)initWithFrame:(CGRect)frame scale:(float)scale;
@end
NS_ASSUME_NONNULL_END
